-- msg_level_up
-- Created by chengb Mar/6/2015
-- 玩家升级

return function(lpc)
    local preLevel = lpc.pre_level;
    local level    = lpc.level;
    
    -- 抛出玩家升级事件
    EventMgr.fire(event.USER_LEVEL_UP, { ["preLevel"] = preLevel, ["level"] = level, });
end